//
//  WLGP_PayCollectionViewCell.m
//  GuideInternalPurchase
//
//  Created by 王亮 on 2021/1/12.
//  Copyright © 2021 GuideInternalPurchase. All rights reserved.
//

#import "WLGP_PayCollectionViewCell.h"
#import "WLGP_PayView.h"

@interface WLGP_PayCollectionViewCell () <WLGP_PayViewDelegate>
@property (nonatomic,strong) WLGP_PayView *pay_view;
@end
@implementation WLGP_PayCollectionViewCell
-(void)bind_row_data:(WLBaseCollectionViewLayerRow *)sender{
    
}
-(void)bind_delegate:(id)sender{
    self.pay_view.delegate = sender;
}


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addSubview:self.pay_view];
        [self.pay_view mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.insets(UIEdgeInsetsZero);
        }];
    }
    return self;
}


#pragma mark -- 懒加载
-(WLGP_PayView *)pay_view{
    if (!_pay_view){
        _pay_view = [[WLGP_PayView alloc]init];
        
    }
    return _pay_view;
}
@end
